import numpy as np

# 矩阵与线性代数运算
# numpy.linalg 包中包含操作函数
def demo_1():
    m = np.matrix([[1, -2, 3], [0, 4, 5], [7, 8, -9]])
    print(m)
    print(m.T)
    print(m.I)
    v = np.matrix([[2], [3], [4]])
    print(m * v)


if __name__ == '__main__':
    demo_1()